package org.zhuxj.framework.tag.vo.easyui;

public class TreeGridModel implements java.io.Serializable {

    private static final long serialVersionUID = -7675459369567860417L;
    private String            idField;                                 // 定义标识树节点的键名字段。必需。
    private String            textField;
    private String            id;
    private String            name;
    private String            childList;

    // 数据库里不能用_
    private String            parentId;
    // 实际有效为_parentId
    private String            _parentId        = "";
    private String            parentText;
    private String            code;
    private String            src;
    private String            icon;
    private String            order;
    private String            state            = "";                   // open or closed

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getParentText() {
        return parentText;
    }

    public void setParentText(String parentText) {
        this.parentText = parentText;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSrc() {
        return src;
    }

    public void setSrc(String src) {
        this.src = src;
    }

    public String getParentId() {
        return parentId;
    }

    public String getIdField() {
        return idField;
    }

    public void setIdField(String idField) {
        this.idField = idField;
    }

    public String getTextField() {
        return textField;
    }

    public void setTextField(String textField) {
        this.textField = textField;
    }

    public String getChildList() {
        return childList;
    }

    public void setChildList(String childList) {
        this.childList = childList;
    }

    public void setParentId(String parentId) {
        this._parentId = parentId;
        this.parentId = parentId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String get_parentId() {
        return _parentId;
    }

    public void set_parentId(String _parentId) {
        this._parentId = _parentId;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

}
